package org.mozhu.mboot.core.file.cloud.aliyun;

public class DefaultAliyunCloudFileService extends AliyunCloudFileService {

    private String bucket;
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;

    public DefaultAliyunCloudFileService(String bucket, String endpoint, String accessKeyId, String accessKeySecret) {
        this.bucket = bucket;
        this.endpoint = endpoint;
        this.accessKeyId = accessKeyId;
        this.accessKeySecret = accessKeySecret;
    }

    @Override
    public String getEndpoint() {
        return endpoint;
    }

    @Override
    public String getAccessKeyId() {
        return accessKeyId;
    }

    @Override
    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    @Override
    public String getBucket() {
        return bucket;
    }
}
